package com.cloud.product;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author 李均华
 * @date 2021/6/3
 * @desc 产品服务启动类
 */
@EnableDiscoveryClient
@EnableFeignClients("com.cloud.common.feign")
@SpringBootApplication
@MapperScan(basePackages = {"com.cloud.product.dao"})
public class ShopProductApplication {

    public static void main(String[] args) {
        SpringApplication.run(ShopProductApplication.class,args);
    }
}
